import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
import Todo from '@/components/todo'
import Show from '@/components/show'
import Model from '@/components/model'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect:'/model',
      component: Model
    },
    {
      path: '/model',
      component: Model
    },
    {
      path: '/Todo',
      component: Todo
    },
    {
      path: '/Show',
      component: Show
    }
  ]
})
